package io.renren.modules.workflow.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * @Desc 流程表单元数据
 * @Author landlord
 * @Date 2021/7/13 16:38
 */
public class ActBusFormMetadataField {

    /** ID */
    private String abfmfId;

    /** 列名称 */
    private String columnName;

    /** 列字段 */
    private String columnField;

    /** 列类型 文本 时间 数字 */
    private String columnType;

    /** 列长度 */
    private Long columnLength;

    /** 列描述 */
    private String columnDesc;

    /** 排序 */
    private Integer columnSort;

    /**字段属性组*/
    private String[] vModels;

    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新者 */
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    public void setAbfmfId(String abfmfId)
    {
        this.abfmfId = abfmfId;
    }

    public String getAbfmfId()
    {
        return abfmfId;
    }
    public void setColumnName(String columnName)
    {
        this.columnName = columnName;
    }

    public String getColumnName()
    {
        return columnName;
    }
    public void setColumnField(String columnField)
    {
        this.columnField = columnField;
    }

    public String getColumnField()
    {
        return columnField;
    }
    public void setColumnType(String columnType)
    {
        this.columnType = columnType;
    }

    public String getColumnType()
    {
        return columnType;
    }
    public void setColumnLength(Long columnLength)
    {
        this.columnLength = columnLength;
    }

    public Long getColumnLength()
    {
        return columnLength;
    }
    public void setColumnDesc(String columnDesc)
    {
        this.columnDesc = columnDesc;
    }

    public String getColumnDesc()
    {
        return columnDesc;
    }
    public void setColumnSort(Integer columnSort)
    {
        this.columnSort = columnSort;
    }

    public Integer getColumnSort()
    {
        return columnSort;
    }

    public void setvModels(String[] vModels) {
        this.vModels = vModels;
    }

    public String[] getvModels() {
        return vModels;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("abfmfId", getAbfmfId())
                .append("columnName", getColumnName())
                .append("columnField", getColumnField())
                .append("columnType", getColumnType())
                .append("columnLength", getColumnLength())
                .append("columnDesc", getColumnDesc())
                .append("columnSort", getColumnSort())
                .append("vModels", getvModels())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
